package org.wjy.post.service.Impl;

import java.util.List;


import javax.annotation.Resource;

import org.hibernate.mapping.Map;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import org.wjy.post.dao.OrdersDao;
import org.wjy.post.service.OrdersService;
import org.wjy.post.vo.Orders;


/**     
 * 类名称：UserServiceImpl   
 * 类描述：用户信息操作业务逻辑接口实现
 * 创建人：anan   
 * 创建时间：2012-12-21 下午11:08:18   
 * 修改人：anan  
 * 修改时间：2012-12-21 下午11:08:18   
 * 修改备注：   
 * @version        
 * */
@Service("ordersService")
public class OrdersServiceImpl implements OrdersService {
	@Resource(name="ordersDao")
	private OrdersDao ordersDao;

	@Override
	public List<Object[]> getorders() {
		// TODO Auto-generated method stub
		return ordersDao.getorderslist();
	}

	@Override
	public boolean addOrders(Orders order) {
		// TODO Auto-generated method stub
		return ordersDao.addOrders(order);
	}

	@Override
	public void update(Orders order) {
		// TODO Auto-generated method stub
		ordersDao.update(order);
	}

	

	
	


	
	

}
